<%@page import="com.gym.model.entity.Course"%>
<%@page import="com.gym.utility.Utility"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%
Course course = (Course) session.getAttribute("courseFinded");
%>
<body>
<br>
<p style="font-weight: bold; font-size: 18px;">
Prezzo: <%=Utility.truncateDecimal(course.getPrice(), 2)%> 
&nbsp;|&nbsp;
Durata: <%=course.getLifespan()+" min"%> 
&nbsp;|&nbsp;
Trainer: <%=course.getTrainer().getTrainerfirstname()+" "+course.getTrainer().getTrainerlastname()%>
</p>
<br>
</body>
</html>